package com.caishi.lkx.exam.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zzw.common.entity.impl.BaseEntity;
import com.zzw.common.service.model.NameModel;
import com.caishi.lkx.exam.ienum.type.QuestionType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

/**
 * @author by Janisa
 * @Description:
 * @date 2022/2/14 16:38
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("ex_question_type")
public class QuestionTypeModel extends BaseEntity<QuestionTypeModel> implements NameModel<QuestionTypeModel, String> {

    @Schema(title = "题型名称")
    private String name;

    @Schema(title = "备注")
    private String remark;

    @Schema(title = "大题型")
    private QuestionType firstType;

    @Schema(title = "最后操作者名字", hidden = true)
    @TableField(exist = false)
    private String finalModifyUserName;

}
